package com.ruoyi.system.domain.sz;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人信息-教育经历对象 sz_personal_education
 * 
 * @author ruoyi
 * @date 2024-03-14
 */
public class SzPersonalEducation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教育ID */
    private Long educationId;

    /** 个人ID */
    @Excel(name = "个人ID")
    private Long personalId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 学历 */
    @Excel(name = "学历")
    private String degree;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    public void setEducationId(Long educationId) 
    {
        this.educationId = educationId;
    }

    public Long getEducationId() 
    {
        return educationId;
    }
    public void setPersonalId(Long personalId) 
    {
        this.personalId = personalId;
    }

    public Long getPersonalId() 
    {
        return personalId;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setDegree(String degree) 
    {
        this.degree = degree;
    }

    public String getDegree() 
    {
        return degree;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("educationId", getEducationId())
            .append("personalId", getPersonalId())
            .append("schoolName", getSchoolName())
            .append("major", getMajor())
            .append("degree", getDegree())
            .append("delFlag", getDelFlag())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
